package com.qf.anno;

import com.qf.TryException.TryException;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author sky
 * @date 2022-08-20
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Retry {

    Class Exceptionclass() default TryException.class;
    int maxRetryCount() default  400;
    int retryTime() default  100;
    int mutiple() default 2;
    int maxTime() default 1000;

}
